getSecondsSinceMidnight

fun getSecondsSinceMidnight(targetCal: Calendar = Calendar.getInstance()): Long

Get the elapsed seconds since midnight today (using the target calendar instance)

Author

Stuart Beesley

Since

MD2024(5106)

Return

seconds since midnight

Parameters

targetCal

the target calendar instance to base the calculations on